#include "behavior_tree_inverter_policy.h"
#include <behaviortree_cpp_v3/decorators/inverter_node.h>

namespace policy
{
BehaviorTreeInverterPolicy::BehaviorTreeInverterPolicy(const std::string &name)
    : BehaviorTreePolicy(name)
{
    policy_tree_node_ = std::make_unique<BT::InverterNode>(name + "_inverter_node");
}
BehaviorTreeInverterPolicy::~BehaviorTreeInverterPolicy() = default;
}
